package dhome.tasks;

import org.quartz.impl.JobDetailImpl;

public class QuartzJobDetail extends JobDetailImpl {
	QuartzJob job;
	@Override
	public String getName(){
		return job.getName();
	}

	@Override
	public String getGroup() {
		return "default";
	}
	public String get_schedule(){
		return job.get_schedule();
	}
	public QuartzJobDetail(QuartzJob job) {
		this.job=job;		
		setJobClass(job.getClass());		
	}
}
